//
//  SRSportShareBottomBackgroundView.m
//  SportRing
//
//  Created by elwin on 10/31/14.
//  Copyright (c) 2014 HotOne. All rights reserved.
//

#import "SRSportShareBottomBackgroundView.h"

@interface SRSportShareBottomBackgroundView()

@property (nonatomic, weak)IBOutlet UIImageView *srSportShareBottomBackgroundView;

@end

@implementation SRSportShareBottomBackgroundView

- (void)setSRSportShareBottomBackgroundViewWithShareType:(SR_SPORT_SHARE_TYPE) shareType;
{
    if (shareType == SR_SHARE_TYPE_DAY_SLEEPING)
    {
        self.srSportShareBottomBackgroundView.image = [UIImage imageNamed:@"share_blue_bottom_bg"];
    }
    else
    {
        self.srSportShareBottomBackgroundView.image = nil;
        
    }
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
